<nav class="topnav topnav-inverse" role="navigation">
    <div class="container-fluid">
        <div class="row" style="height:100px">
            <ul class="site-menu">
                <li class="nav-menu" id="nav-home"><a href="/home/home/index">工作台</a></li>

                <if condition="$Think.session.user_auth.role eq 3">
                    <li class="nav-menu" id="nav-task0"><a href="/task/index/index?task_type=0">日常任务上报</a></li>
                    <li class="nav-menu" id="nav-task1"><a href="/task/index/index?task_type=1">加分项上报</a></li>
                    <li class="nav-menu" id="nav-evaluating"><a href="/evaluating/index/index">年终评测上报</a></li>
                </if>

                <if condition="$Think.session.user_auth.role eq 2">
                    <li class="nav-menu" id="nav-task0"><a href="/task/score/index?task_type=0">日常任务评分</a></li>
                    <li class="nav-menu" id="nav-task1"><a href="/task/score/index?task_type=1">加分项评分</a></li>
                    <li class="nav-menu" id="nav-evaluating"><a href="/evaluating/score/index">年终评测评分</a></li>
                </if>

                <if condition="$Think.session.user_auth.role eq 1">
                    <li class="nav-menu" id="nav-task0"><a href="/task/review/index?task_type=0">日常任务评审</a></li>
                    <li class="nav-menu" id="nav-task1"><a href="/task/review/index?task_type=1">加分项评审</a></li>
                    <li class="nav-menu" id="nav-evaluating"><a href="/evaluating/review/index">年终评测评审</a></li>
                </if>

                <if condition="$Think.session.user_auth.role eq 0">
                    <li class="nav-menu" id="nav-task0"><a href="/task/review/index?task_type=0">日常任务</a></li>
                    <li class="nav-menu" id="nav-task1"><a href="/task/review/index?task_type=1">加分项</a></li>
                    <li class="nav-menu" id="nav-evaluating"><a href="/evaluating/review/index">年终评测</a></li>
                </if>

                <li class="nav-menu" id="nav-file"><a href="/file/index/index">文件下载</a></li>
                <li class="nav-menu" id="nav-notice"><a href="/notice/index/index">通知公告</a></li>

                <li class="nav-menu" id="nav-examine"><a href="/examine/index/detail">年终考核</a></li>

                <if condition="$Think.session.user_auth.role eq 0">
                    <li class="nav-menu" id="nav-set"><a href="/set/index/index">系统管理</a></li>
                </if>
                <li class="dropdown pull-right">
                    <a class="dropdown-toggle" href="#" data-toggle="dropdown"><?php echo session('user_auth')["account"]?> <i class="fa fa-angle-down"></i></a>
                    <ul class="dropdown-menu" role="menu">
                        <?php if(session('user_auth')["role"]==3){?>
                        <li><a href="/home/index/update">信息设置</a></li>
                        <?php }else {?>
                        <li><a href="/home/index/resetpassword">修改密码</a></li>
                        <?php }?>
                        <li><a href="/home/index/logout">退出登录</a></li>
                    </ul>
                </li>
            </ul>

        </div>
    </div>
</nav>